package com.youi.entity;

import java.util.Date;
import java.sql.*;


import java.io.Serializable;


/**
 * 实体类
 * @author XJY
 */
public class Goodscar implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;							//创建时间
	private Integer delStatus;							//删除状态（0否 1是）
	private Date gmtModify;							//最后修改时间
	private Long userId;							//用户id
	private Long merchantId;							//商家id
	private Double amount;							//合计金额

    public Goodscar(){

    }

    public Goodscar(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }


    public Goodscar(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,Long userId,Long merchantId,Double amount) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.userId=userId;
       this.merchantId=merchantId;
       this.amount=amount;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setUserId(Long userId){
		this.userId=userId;
	}

	public Long getUserId(){
		return userId;
	}

	public void setMerchantId(Long merchantId){
		this.merchantId=merchantId;
	}

	public Long getMerchantId(){
		return merchantId;
	}

	public void setAmount(Double amount){
		this.amount=amount;
	}

	public Double getAmount(){
		return amount;
	}

}
